package com.example.demo.day0229;

import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
//        DemoInput.testFileInputStream();//用程序读写文件
//        DemoOutput.testFileOutputStream();//把数据存到文件
//        CopyFile.copyF();
//        DemoInput1.testFileReader("D:/File/tt1.txt");
//        DemoOutput1.testFileWriter("Hello world","D:/File/tt1.txt");//在写入时目录下有同名文件将被覆盖
        CopyFile1.copyFile("D:/File/tt4.txt","D:/File/cc/tt4.txt");
    }
}
